package com.zingrow.common.authority;

/**
 * 权限管理类型的枚举
 * 
 * @author sy
 *
 */
public enum AuthorityTypeEnum {

    USER_MANAGE("账户管理", "userConfig.jsp", 0), OPT_RECORD("操作记录", "optRecord.jsp", 0),;
    /**
     * 名称
     */
    private String name;
    /**
     * 访问路径关键词
     */
    private String path;
    /**
     * 索引
     */
    private int index;

    private AuthorityTypeEnum(String name, String path, int index) {
        this.name = name;
        this.path = path;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
